package com.sxdz.controller.service.program

import com.sxdz.controller.service.IBaseService
import com.sxdz.models.TProgramInfo
import com.sxdz.models.common.Order
import com.sxdz.models.common.RollPage

/**
 * Created by andy on 2016/8/3.
 */
interface IProgramService extends IBaseService {


    /**
     * 查询节目列表
     * @author andy
     * @param params
     * @param
     * @return
     * @throws Exception
     */
    List<TProgramInfo> selectByAllProgramInfo() throws Exception;
    /**
     * 分页查询所有节目列表
     * @param pageNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    RollPage findListByProgram( Integer pageNum, Integer pageSize)throws Exception;

    /***
     *根据Id查询节目详请
     */
    TProgramInfo  selectByAllById(String pid);



}
